using System;
using System.Collections.Generic;
using System.Text;
using Castle.MonoRail.Framework;
using System.Security.Principal;
using System.Web.Security;
namespace WineCellar.Web.Components
{
    public abstract class SecurityViewComponentBase:ViewComponent
    {
        public RolePrincipal CurrentUser
        {
            get { return (RolePrincipal) Session["CurrentUser"]; }
        }
    }
}
